<!--
*Author：jxx
 *Contact：283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/system/mytable/Fk_reimfloat.js此处编写
 -->
<template>
    <view-grid ref="grid"
               :columns="columns"
               :detail="detail"
               :editFormFields="editFormFields"
               :editFormOptions="editFormOptions"
               :searchFormFields="searchFormFields"
               :searchFormOptions="searchFormOptions"
               :table="table"
               :extend="extend">
    </view-grid>
</template>
<script>
    import extend from "@/extension/mytable/mytable/Fk_reimfloat.js";
    import { ref, defineComponent } from "vue";
    export default defineComponent({
        setup() {
            const table = ref({
                key: 'fk_reimfloat_id',
                footer: "Foots",
                cnName: '报销业务流程控制',
                name: 'mytable/Fk_reimfloat',
                url: "/Fk_reimfloat/",
                sortName: "bdatetime"
            });
            const editFormFields = ref({});
            const editFormOptions = ref([]);
            const searchFormFields = ref({});
            const searchFormOptions = ref([]);
            const columns = ref([{field:'fk_reimfloat_id',title:'fk_reimfloat_id',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'typeid',title:'业务类型',type:'int',bind:{ key:'typelist',data:[]},width:100,hidden:true,readonly:true,align:'left'},
                       {field:'stepid',title:'业务步骤',type:'int',bind:{ key:'steplist',data:[]},width:100,readonly:true,align:'left',sort:true},
                       {field:'username',title:'操作人员',type:'string',bind:{ key:'uerlist',data:[]},width:100,readonly:true,align:'left'},
                       {field:'bdatetime',title:'操作时间',type:'datetime',width:130,readonly:true,align:'left',sort:true},
                       {field:'reyijian',title:'反馈意见',type:'string',width:120,align:'left'},
                       {field:'edatetime',title:'提交时间',type:'datetime',width:130,hidden:true,readonly:true,align:'left',sort:true},
                       {field:'remark',title:'意见详情',type:'string',width:220,readonly:true,align:'left'},
                       {field:'reimid',title:'业务编码',type:'int',width:60,hidden:true,readonly:true,align:'left'},
                       {field:'bek',title:'流程标识',type:'int',bind:{ key:'flow_b_e',data:[]},width:80,hidden:true,align:'left'},
                       {field:'nextroleid',title:'下一步骤角色',type:'int',width:80,hidden:true,align:'left'},
                       {field:'node_type',title:'节点类型(key)',type:'string',width:120,align:'left'},
                       {field:'next_username',title:'下一步骤接受人',type:'string',width:120,hidden:true,align:'left'},
                       {field:'node_attr',title:'节点属性',type:'string',width:110,align:'left'},
                       {field:'pxm',title:'排序码',type:'int',width:80,hidden:true,align:'left'},
                       {field:'tjsql',title:'tjsql',type:'string',width:220,hidden:true,align:'left'},
                       {field:'roleid',title:'当前处理角色',type:'int',width:80,hidden:true,align:'left'}]);
            const detail = ref({
                cnName: "#detailCnName",
                table: "#detailTable",
                columns: [],
                sortName: "",
                key: ""
            });
            return {
                table,
                extend,
                editFormFields,
                editFormOptions,
                searchFormFields,
                searchFormOptions,
                columns,
                detail,
            };
        },
    });
</script>
